package com.fedming.bottomnavigationdemo.Util;

import org.webrtc.VideoFrame;

public class MyVideoFrame extends VideoFrame {

    public MyVideoFrame(Buffer buffer, int rotation, long timestampNs) {
        super(buffer, rotation+90, timestampNs);
    }

    public MyVideoFrame(VideoFrame frame) {
        super(frame.getBuffer(), frame.getRotation()+90, frame.getTimestampNs());
    }
}